Skip to content

CI: let rpmbuild accept PXF's Cloudberry RUNPATH on Rocky 10 - #181

Merged
tuhaihe merged 1 commit into
apache:REL_2_STABLEfrom
tuhaihe:fix-rel2-rocky10-rpath
Nov 6, 2026
Merged

tuhaihe merged 1 commit into
apache:REL_2_STABLEfrom
tuhaihe:fix-rel2-rocky10-rpath

Conversation

@tuhaihe

@tuhaihe tuhaihe commented Nov 6, 2026

Copy link
Copy Markdown
Member

RHEL/Rocky 10 added check-rpaths to rpmbuild's %install post-processing (RHEL 8/9 never run it). It flags any absolute RUNPATH outside the system library directories as invalid (0x0002), so the Rocky 10 PXF RPM build fails on gpextable/pxf.so and fdw/pxf_fdw.so, which point at /usr/local/cloudberry-db/lib on purpose to load the Cloudberry libraries.

Set QA_RPATHS=0x0002 for the PXF build, which tolerates exactly that class and keeps the other rpath checks in force. ci/docker/pxf-cbdb-dev /rocky10/script/build_cloudberry_rpm.sh works around the same check for the Cloudberry RPM.

closes: #ISSUE_Number


Change logs

Describe your change clearly, including what problem is being solved or what document is being added or updated.

Contributor's checklist

Here are some reminders before you submit your pull request:

RHEL/Rocky 10 added check-rpaths to rpmbuild's %install post-processing
(RHEL 8/9 never run it). It flags any absolute RUNPATH outside the
system library directories as invalid (0x0002), so the Rocky 10 PXF RPM
build fails on gpextable/pxf.so and fdw/pxf_fdw.so, which point at
/usr/local/cloudberry-db/lib on purpose to load the Cloudberry
libraries.

Set QA_RPATHS=0x0002 for the PXF build, which tolerates exactly that
class and keeps the other rpath checks in force. ci/docker/pxf-cbdb-dev
/rocky10/script/build_cloudberry_rpm.sh works around the same check for
the Cloudberry RPM.
@tuhaihe
tuhaihe merged commit 8c0804a into apache:REL_2_STABLE Nov 6, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants